export =  {
      get client() {
            return this.ctx.client;
      },
      // 统一返回
      _success(data?:string | object,msg?:string){
            return this.json({
                  status:1000,
                  data,
                  msg
            })
      }
      // get socketClients(){
      //       return Object.values(this.websocket.clients().sockets);
      // }
}